package com.guomei.bean.curse;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 课程与类别关联表实体类
 * @TableName course_category_relation
 */
@Data
public class CourseCategoryRelation {
    /**
     * 关联ID
     */
    private Long id;

    /**
     * 课程ID，关联course表
     */
    private Long courseId;

    /**
     * 类别ID，关联course_category表
     */
    private Long categoryId;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createdTime;

    // private static final long serialVersionUID = 1L;


    //分页大小
    private Integer pageSize;

    //页数
    private Integer pageNum;

    private Course course;
}
